var express=require('express');
var router=express.Router();
var dataCtrl=require('../controllers/upload.controller');


router.post('/uploadFile',dataCtrl.uploadFile);
router.post('/data',dataCtrl.create);
router.put('/data/:id',dataCtrl.update);
router.delete('/data/:id',dataCtrl.delete);
router.post('/list',dataCtrl.list);

module.exports=router;